package com.lg.distributed.transaction.message.config;

import com.lg.distributed.transaction.message.util.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author by Mr. Li 2020/12/11 23:55
 */
@Configuration
public class IDWrokerConfig {
    @Bean
    public IdWorker idWorker() {
        return new IdWorker(1, 1, 1);
    }
}
